package vip.liux.front.domain.shared.payment;

import lombok.Getter;
import lombok.Setter;
import vip.liux.front.infrastructure.data.EtoBase;

import java.io.Serializable;
import java.util.List;

/**
 * 支付请求完成
 */
@Getter
@Setter
public class PaymentRequestCompletedEto extends EtoBase implements Serializable {
    /**
     * 支付请求ID
     */
    private String id;

    /**
     * 支付网关
     */
    private String gateway;

    /**
     * 货币
     */
    private String currency;

    /**
     * 支付商品信息
     */
    private List<PaymentRequestProductCompletedEto> products;

    public PaymentRequestCompletedEto(String id, String gateway, String currency, List<PaymentRequestProductCompletedEto> list) {
        this.id = id;
        this.gateway = gateway;
        this.currency = currency;
        this.products = list;
    }

    public PaymentRequestCompletedEto() {
    }
}
